projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb29274
)
(read_avail_input) [no FIONREAD]: On DGUX, as on USG,
author
Richard M. Stallman
<rms@gnu.org>
Sat, 13 Nov 1993 07:50:17 +0000
(07:50 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sat, 13 Nov 1993 07:50:17 +0000
(07:50 +0000)
read input with O_NDELAY.
src/keyboard.c
patch
|
blob
|
history
diff --git
a/src/keyboard.c
b/src/keyboard.c
index 0f12c5b03ac621a20056c15c0ce9c174361417b3..249c594d2a8082364b90dd9379e92fd8bc6612e3 100644
(file)
--- a/
src/keyboard.c
+++ b/
src/keyboard.c
@@
-3044,7
+3044,7
@@
read_avail_input (expected)
if (nread > sizeof cbuf)
nread = sizeof cbuf;
#else /* no FIONREAD */
-#if
def USG
+#if
defined(USG) || defined(DGUX)
/* Read some input if available, but don't wait. */
nread = sizeof cbuf;
fcntl (fileno (stdin), F_SETFL, O_NDELAY);